package com.efounder.imageloader;

import android.app.Activity;
import android.content.Context;
import androidx.fragment.app.Fragment;
import android.widget.ImageView;

/**
 * 图片加载接口
 * Created by YQS on 2018/3/2.
 */

public interface IPanSoftImageLoader {


    @Deprecated
    void displayImage(Context context, ImageView imageView, Object object);

    @Deprecated
    void displayImage(Context context, ImageView imageView, Object object, int errorResId);

    @Deprecated
    void displayImage(Context context, ImageView imageView, Object object, int errorResId, int placeHolderResId);


    void displayImage(Fragment fragment, ImageView imageView, Object object);

    void displayImage(Fragment fragment, ImageView imageView, Object object, int errorResId);

    void displayImage(Fragment fragment, ImageView imageView, Object object, int errorResId, int placeHolderResId);

    void displayImage(Activity activity, ImageView imageView, Object object);

    void displayImage(Activity activity, ImageView imageView, Object object, int errorResId);

    void displayImage(Activity activity, ImageView imageView, Object object, int errorResId, int placeHolderResId);


}
